import { http } from "@/uni-sub-base/service/request.js"
let serviceName = "SalesPolicy/"
import { getBaseUrl } from "@/utils/appUrls.js"

//获取促销活动分页(按活动Model返回)
export function GetActivityPage(data) {
    return http.post({
        url: getBaseUrl() + serviceName + "GetActivityPage",
        data,
    })
}
//促销活动商品列表
export function GetSalesPolicyProductPage(data) {
    return http.post({
        url: getBaseUrl() + serviceName + "GetSalesPolicyProductPage",
        data,
    })
}
//获取促销活动详情(按活动Model返回)
export function GetActivitiesInfoSales(path) {
    return http.post({
        url: getBaseUrl() + serviceName + "GetActivitiesInfo"+path
    })
}

